package com.szeastroc.common;


public class Constant {

    //redis key 前缀
   public static final String REDIS_USER_KEY = "redis_user_key_";


    /**
     * REST API CODE定义
     * 200 = 成功
     * 500 = 异常
     * 501 = 缺少参数
     * 502 = 参数类型不正确
     * 1001 = 用户未登录
     */
    public static final Integer API_CODE_SUCCESS = 200;
    public static final Integer API_CODE_ERROR = 500;
    public static final Integer API_CODE_501 = 501;
    public static final Integer API_CODE_502 = 502;
    public static final Integer API_CODE_503 = 503;
    public static final Integer API_CODE_1001 = 1001;


    public static final String API_MSG_SUCCESS = "调用成功！";
    public static final String API_MSG_ERROR = "调用失败！";
    public static final String API_MSG_501 = "缺少参数";
    public static final String API_MSG_502 = "参数类型不正确";
    public static final String API_MSG_503 = "参数错误";


    //session
    public static final String USER_SESSION = "user_session";


}
